package com.tanchengjin.admin.modules.blog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UserVO {

    @NotNull
    private long id;

    private String username;

    private String avatarUrl;
    private String phone;
    private String email;
    private String sex;
    private String ip;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "RPC")
    private Date created_at;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "RPC")
    private Date updated_at;
    private int status;
    private boolean LAY_CHECKED;
}
